package io.jee.caisan.weixin.domain;

import javax.persistence.Entity;
import javax.persistence.Id;

import org.hibernate.annotations.DynamicUpdate;

@Entity
@DynamicUpdate
public class MpMaterialNewsArticle {

	private String thumbMediaId;
	private String thumbUrl;
	private String title;
	private String digest;
	private String url;
	//private MpMaterialNews news;

	@Id
	public String getThumbMediaId() {
		return thumbMediaId;
	}

	public void setThumbMediaId(String thumbMediaId) {
		this.thumbMediaId = thumbMediaId;
	}

	public String getThumbUrl() {
		return thumbUrl;
	}

	public void setThumbUrl(String thumbUrl) {
		this.thumbUrl = thumbUrl;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDigest() {
		return digest;
	}

	public void setDigest(String digest) {
		this.digest = digest;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
//	@ManyToOne
//	public MpMaterialNews getNews() {
//		return news;
//	}
//
//	public void setNews(MpMaterialNews news) {
//		this.news = news;
//	}
}
